package com.spring.boot03.bean;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.ibatis.annotations.Select;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Emp implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer empNo;
    private String ename;
    private String job;
    private Integer mgr;
    @TableField("hireDate")
    private String hireDate1;
    private Double sal;
    private Double comm;
    private Integer deptNo;
    @TableLogic(value = "1",delval = "0")
    private Integer empState;
}

